C:\to_server\website\mrdcl-learning.com\mrdcl_files\DAT-103\run12a.stp
start data,
serial number in columns 1,2,3,
card characters 200,
!
ds $gender=$4/1,2,
x='Male;
Female',
xt='Gender',
ds $rotat=$5/1,2,
x='A first, B second;
B first, A second',
xt='Rotation order',
!
if $rotat/1,d$111-130=$11-30,
if $rotat/2,d$111-120=$21-30,
if $rotat/2,d$121-130=$11-20,
d$11-30=$111-130,
!
ds $q1a=$11/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 1',
ds $q1b=$12/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 2',
ds $q1c=$13/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 3',
ds $q1d=$14/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 4',
ds $q1e=$15/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 5',
ds $q1f=$16/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 6',
ds $q1g=$17/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 7',
ds $q1h=$18/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 8',
ds $q1i=$19/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 9',
ds $q1j=$20/1-3,
x='Good;
Average;
Poor',
xt='Product A : Rating statement 10',
ds $q2a=$21/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 1',
ds $q2b=$22/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 2',
ds $q2c=$23/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 3',
ds $q2d=$24/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 4',
ds $q2e=$25/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 5',
ds $q2f=$26/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 6',
ds $q2g=$27/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 7',
ds $q2h=$28/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 8',
ds $q2i=$29/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 9',
ds $q2j=$30/1-3,
x='Good;
Average;
Poor',
xt='Product B : Rating statement 10',
finish data,
start tables,
t#1=$q1a *,
bt='All ratings for A',
t#2=$q1b *,
bt='All ratings for A',
t#3=$q1c *,
bt='All ratings for A',
t#4=$q1d *,
bt='All ratings for A',
t#5=$q1e *,
bt='All ratings for A',
t#6=$q1f *,
bt='All ratings for A',
t#7=$q1g *,
bt='All ratings for A',
t#8=$q1h *,
bt='All ratings for A',
t#9=$q1i *,
bt='All ratings for A',
t#10=$q1j *,
bt='All ratings for A',
t#11=$q2a *,
bt='All ratings for B',
t#12=$q2b *,
bt='All ratings for B',
t#13=$q2c *,
bt='All ratings for B',
t#14=$q2d *,
bt='All ratings for B',
t#15=$q2e *,
bt='All ratings for B',
t#16=$q2f *,
bt='All ratings for B',
t#17=$q2g *,
bt='All ratings for B',
t#18=$q2h *,
bt='All ratings for B',
t#19=$q2i *,
bt='All ratings for B',
t#20=$q2j *,
bt='All ratings for B',
ds $prod(2),
h='Prod A;
Prod B',
t#21(f=nitb/nptc)=$q1a * $prod,
vt='Rating statement 1 : summary',
t#21=$q1a * 1,
t#21=$q2a * 2,
t#22(f=nitb/nptc)=$q1b * $prod,
vt='Rating statement 2 : summary',
t#22=$q1b * 1,
t#22=$q2b * 2,
t#23(f=nitb/nptc)=$q1c * $prod,
vt='Rating statement 3 : summary',
t#23=$q1c * 1,
t#23=$q2c * 2,
t#24(f=nitb/nptc)=$q1d * $prod,
vt='Rating statement 4 : summary',
t#24=$q1d * 1,
t#24=$q2d * 2,
t#25(f=nitb/nptc)=$q1e * $prod,
vt='Rating statement 5 : summary',
t#25=$q1e * 1,
t#25=$q2e * 2,
t#26(f=nitb/nptc)=$q1f * $prod,
vt='Rating statement 6 : summary',
t#26=$q1f * 1,
t#26=$q2f * 2,
t#27(f=nitb/nptc)=$q1g * $prod,
vt='Rating statement 7 : summary',
t#27=$q1g * 1,
t#27=$q2g * 2,
t#28(f=nitb/nptc)=$q1h * $prod,
vt='Rating statement 8 : summary',
t#28=$q1h * 1,
t#28=$q2h * 2,
t#29(f=nitb/nptc)=$q1i * $prod,
vt='Rating statement 9 : summary',
t#29=$q1i * 1,
t#29=$q2i * 2,
t#30(f=nitb/nptc)=$q1j * $prod,
vt='Rating statement 10 : summary',
t#30=$q1j * 1,
t#30=$q2j * 2,
finish tables,
